import request from "@/utils/request";

// 查询帮助中心公告列表
export function noticeList(data) {
  return request({
    url: `/common/notice/list`,
    headers: {
      isToken: false,
    },
    method: "get",
    params: data,
  });
}

//查询我的帮助中心公告
export function noticeInfo(data) {
  return request({
    url: `/common/notice/${data.noticeId}`,
    method: "get",
  });
}
